Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.ecm.directories--directories

This contribution is part of XML component org.nuxeo.ecm.directories inside nuxeo-platform-default-config-8.10.jar /OSGI-INF/nxdirectories-contrib.xml

Extension Point

Extension point directories of component GenericDirectory.

Contributed Items

  • <directory extends="template-xvocabulary" name="country">
          <parentDirectory>continent</parentDirectory>
          <dataFile>directories/country.csv</dataFile>
        </directory>
  • <directory extends="template-vocabulary" name="continent">
          <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
            <property name="targetDirectory">country</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
          <dataFile>directories/continent.csv</dataFile>
        </directory>
  • <directory extends="template-l10nxvocabulary" name="l10ncoverage">
          <parentDirectory>l10ncoverage</parentDirectory>
          <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
            <property name="targetDirectory">l10ncoverage</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
          <dataFile>directories/l10ncoverage.csv</dataFile>
        </directory>
  • <directory extends="template-xvocabulary" name="subtopic">
          <parentDirectory>topic</parentDirectory>
          <dataFile>directories/subtopic.csv</dataFile>
        </directory>
  • <directory extends="template-vocabulary" name="topic">
          <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
            <property name="targetDirectory">subtopic</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
          <dataFile>directories/topic.csv</dataFile>
        </directory>
  • <directory extends="template-l10nxvocabulary" name="l10nsubjects">
          <parentDirectory>l10nsubjects</parentDirectory>
          <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
            <property name="targetDirectory">l10nsubjects</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
          <dataFile>directories/l10nsubjects.csv</dataFile>
        </directory>
  • <directory extends="template-vocabulary" name="subject">
          <types>
            <type>system</type>
          </types>
          <dataFile>directories/subject.csv</dataFile>
        </directory>
  • <directory extends="template-vocabulary" name="search_operators">
          <types>
            <type>system</type>
          </types>
          <dataFile>directories/search_operators.csv</dataFile>
        </directory>
  • <directory extends="template-documentsLists" name="documentsLists">
          <types>
            <type>system</type>
          </types>
          <permissions>
            <permission name="Write">
              <group>Everyone</group>
            </permission>
          </permissions>
        </directory>
  • <directory extends="template-vocabulary" name="language">
          <dataFile>directories/language.csv</dataFile>
        </directory>
  • <directory extends="template-vocabulary" name="nature">
          <dataFile>directories/nature.csv</dataFile>
        </directory>
  • <directory extends="template-vocabulary" name="locale">
          <types>
            <type>system</type>
          </types>
          <dataFile>directories/locale.csv</dataFile>
        </directory>

XML Source

<extension point="directories" target="org.nuxeo.ecm.directory.GenericDirectory">

    <directory extends="template-xvocabulary" name="country">
      <parentDirectory>continent</parentDirectory>
      <dataFile>directories/country.csv</dataFile>
    </directory>

    <directory extends="template-vocabulary" name="continent">
      <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
        <property name="targetDirectory">country</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
      <dataFile>directories/continent.csv</dataFile>
    </directory>

    <directory extends="template-l10nxvocabulary" name="l10ncoverage">
      <parentDirectory>l10ncoverage</parentDirectory>
      <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
        <property name="targetDirectory">l10ncoverage</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
      <dataFile>directories/l10ncoverage.csv</dataFile>
    </directory>

    <directory extends="template-xvocabulary" name="subtopic">
      <parentDirectory>topic</parentDirectory>
      <dataFile>directories/subtopic.csv</dataFile>
    </directory>

    <directory extends="template-vocabulary" name="topic">
      <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
        <property name="targetDirectory">subtopic</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
      <dataFile>directories/topic.csv</dataFile>
    </directory>

    <directory extends="template-l10nxvocabulary" name="l10nsubjects">
      <parentDirectory>l10nsubjects</parentDirectory>
      <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
        <property name="targetDirectory">l10nsubjects</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
      <dataFile>directories/l10nsubjects.csv</dataFile>
    </directory>

    <directory extends="template-vocabulary" name="subject">
      <types>
        <type>system</type>
      </types>
      <dataFile>directories/subject.csv</dataFile>
    </directory>

    <directory extends="template-vocabulary" name="search_operators">
      <types>
        <type>system</type>
      </types>
      <dataFile>directories/search_operators.csv</dataFile>
    </directory>

    <directory extends="template-documentsLists" name="documentsLists">
      <types>
        <type>system</type>
      </types>
      <permissions>
        <permission name="Write">
          <group>Everyone</group>
        </permission>
      </permissions>
    </directory>

    <directory extends="template-vocabulary" name="language">
      <dataFile>directories/language.csv</dataFile>
    </directory>

    <directory extends="template-vocabulary" name="nature">
      <dataFile>directories/nature.csv</dataFile>
    </directory>

    <!-- @since 5.6, deprecated since 8.1, see NXP-18728 -->
    <directory extends="template-vocabulary" name="locale">
      <types>
        <type>system</type>
      </types>
      <dataFile>directories/locale.csv</dataFile>
    </directory>
  </extension>